<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>html5新增表单属性</title>
</head>
<body>
    <p>required表单内容不能为空</p>
    <p>autofocus页面加载完成后自动聚焦到指定表单</p>
    <p>autocomplete=off/on输入以前搜索过的值会显示出字段中填写的选项</p>
    <p>multiple可以多选文件提交</p>
    <form action="">
        <input type="search" name="x" required="required" autofocus="autofocus" autocomplete="off">
        <input type="file" multiple="multiple">
        <input type="submit" value="提交 ">
    </form>
</body>
</html>